home *** CD-ROM | disk | FTP | other *** search
/ NeXT Enterprise Objects Framework 1.1 / NeXT Enterprise Objects Framework 1.1.iso / NextDeveloper / Examples / EnterpriseObjects / DistributedEO / DEOClient.subproj / DOExtensions.subproj / FoundationExtensions.h next >
Encoding:
Text File  |  1995-02-17  |  1.0 KB  |  34 lines

  1. /*
  2.    FoundationExtensions.h modified by enoyau on Fri 13-Jan-1995
  3.  
  4.    You may freely copy, distribute, and reuse the code in this example.
  5.    NeXT disclaims any warranty of any kind, expressed or implied, as to its
  6.    fitness for any particular use.
  7. */
  8. /*
  9.  *  Categories on NSArray and NSDictionary that allow them to be
  10.  *  sent over the wire like a regular object.  Currently only NSString,
  11.  *  NSData and NSNumber implement the NXTransport protocol so only those
  12.  *  classes can be sent by value over the wire.
  13.  *
  14.  *  No guarantee is made for the fitness of this code for any particular
  15.  *  use.  No warranty expressed or implied.  Use at your own risk!
  16.  *
  17.  *  Randy Tidd
  18.  *  NeXT Premium Developer Support
  19.  */
  20. #import <foundation/NSArray.h>
  21. #import <foundation/NSDictionary.h>
  22.  
  23. @interface NSArray (DOExtensions)
  24. - encodeRemotelyFor:connection
  25.   freeAfterEncoding:(BOOL *)flag
  26.            isBycopy:(BOOL)isBycopy;
  27. @end
  28.  
  29. @interface NSDictionary (DOExtensions)
  30. - encodeRemotelyFor:connection
  31.   freeAfterEncoding:(BOOL *)flag
  32.            isBycopy:(BOOL)isBycopy;
  33. @end
  34.